package com.example.design.pattern.behavior.observer;

import java.util.Observable;
import java.util.Observer;

public class EventListener implements Observer {

    @Override
    public void update(Observable o, Object arg) {
        System.out.println("receive event, arg=" + arg);
    }

}
